import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-08-15
 * Time: 20:35
 */
public class demo14 {
    public static void main(String[] args) {
        try (OutputStream outputStream = new FileOutputStream("./test.txt")) {
            byte[] a = new byte[]{97, 98, 99, 100};
            outputStream.write(a);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
